package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务_政策对象 sys_business_policy
 * 
 * @author ruoyi
 * @date 2024-01-18
 */
@Data
public class SysBusinessPolicy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 政策ID */
    private Long policyId;

    /** 政策标题 */
    @Excel(name = "政策标题")
    private String policyTitle;

    /** 政策编号 */
    @Excel(name = "政策编号")
    private String policyNo;

    /** 转载自 */
    @Excel(name = "转载自")
    private String policySource;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date policyTime;

    /** 文字附件 */
    private String policyTextFile;

    /** 图片附件 */
    private String pilicyImageFile;

    /** 状态（0草稿 1已发 2已撤） */
    @Excel(name = "状态", readConverterExp = "0=草稿,1=已发,2=已撤")
    private String status;

    /** 是否置顶（0否 1是） */
    private String isTop;

    /** 是否置底（0否 1是） */
    private String isBottom;

    /**移动方式**/
    private String moveType;

    /**置顶方式**/
    private String pinType;

    /**显示顺序**/
    private Integer orderNum;
}
